Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix resize! for LowStorageRK2NCache; closes #1277 #1278

Merged
merged 1 commit into from
Sep 28, 2020

Conversation

ranocha
Copy link
Member

@ranocha ranocha commented Sep 25, 2020

This fixes #1277 for DiscreteCallbacks. I had to re-eval the FSAL part, since the 2N methods are not recognized as FSAL methods although they evaluate the RHS for the new step. Why?

@ChrisRackauckas
Copy link
Member

@ranocha
Copy link
Member Author

ranocha commented Sep 26, 2020

Well, I'm sure we had isfsal(alg::CarpenterKennedy2N54) == true at some time in the past. But now there is

isfsal(alg::CarpenterKennedy2N54) = false

Anyway, we still need an additional check of u_modified to update tmp for 2N methods, which is implemented here.

@ChrisRackauckas
Copy link
Member

I think @kanav99 did something with that due to Williamson condition and ensuring low storage? I'll merge and we can discuss this more.

@ChrisRackauckas ChrisRackauckas merged commit 1454481 into SciML:master Sep 28, 2020
@ranocha
Copy link
Member Author

ranocha commented Sep 29, 2020

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

resize! is broken for LowStorageRK2NCache
2 participants